Conversation
Signed-off-by: Smityz <smityz@qq.com>
|
[REVIEW NOTIFICATION] This pull request has not been approved. To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2198 +/- ##
===========================================
- Coverage 56.40% 45.26% -11.14%
===========================================
Files 318 317 -1
Lines 33465 33464 -1
===========================================
- Hits 18873 15145 -3728
- Misses 12351 16285 +3934
+ Partials 2241 2034 -207
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2198 +/- ##
==========================================
- Coverage 55.53% 50.22% -5.31%
==========================================
Files 325 324 -1
Lines 34757 34757
==========================================
- Hits 19300 17455 -1845
- Misses 13144 15004 +1860
+ Partials 2313 2298 -15
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
pkg/cluster/spec/tikv.go
Outdated
| } | ||
|
|
||
| func (i *TiKVInstance) ExtraDirs() []string { | ||
| configMap := reflect.Indirect(reflect.ValueOf(i.InstanceSpec)).FieldByName("Config").Interface().(map[string]interface{}) |
There was a problem hiding this comment.
How about:
spec := i.InstanceSpec.(*TiKVSpec)
raftDir := spec.Config["raftstore.raftdb-path"]
[LGTM Timeline notifier]Timeline:
|
|
Thanks! @lucklove PTAL~ |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
If we set
raftstore.raftdb-pathto a location different fromdata_dir, we need to create a folder forraftstore.raftdb-pathin TiUP.If community wants to merge this PR, I will add some unit test